<template>
	<view class="main" :style="'top:'+(-demo.height-demo.top-10)+'px'">
		<view :style="'padding-top:'+(demo.height+demo.top+10)+'px'">
			<head1 class="nav_top"
				:style="'height:' +  demo.height + 'px;' + 'padding-top:' + demo.top + 'px;padding-bottom:10px'"
				:nav="title">
			</head1>
		</view>
		<view class="hahah" :style="'padding-bottom:'+(demo.height+demo.top+10)+'px'">
			<view class="index_line">
				
			</view>
			<stepList></stepList>
		</view>
		
	</view>
</template>

<script>
	import head1 from '../../common/head/head'
	import stepList from '../../common/step/stepList'
	export default {
		components: {
			head1,
			stepList
		},
		data() {
			return {
				title: '证书动态',
				demo: {
					top: '',
					height: ''
				},
				ctype:[]
			}
		},
		onLoad(options) {
			// this.ctype=JSON.parse(options.data)
		},
		created() {
			const demo = uni.getMenuButtonBoundingClientRect()
			this.demo.top = demo.top
			this.demo.height = demo.height
		},
		methods: {
			nowReal() {
				uni.navigateTo({
					url: '../realName/nowReal'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.main {
		position: fixed;
		top: 0;
		z-index: 999;
		height: 100%;
		width: 100%;
		.nav_top {
			position: relative;
			background: #ffffff;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			min-width: 750rpx;
		}

		.hahah{
			height: 100%;
			overflow: auto;
			background: #ffffff;
			
			box-sizing: border-box;
		}

	}
</style>
